package com.javafx06.entity;

public class Staff {

    private String name;

    private String idcard;

    private String gender;

    private String age;

    private String zhiwei;

    private String birthday;

    private String depart;

    private String enterDate;

    public Staff() {

    }

    public Staff(String name, String idcard, String gender, String age, String zhiwei, String birthday, String depart, String enterDate) {
        this.name = name;
        this.idcard = idcard;
        this.gender = gender;
        this.age = age;
        this.zhiwei = zhiwei;
        this.birthday = birthday;
        this.depart = depart;
        this.enterDate = enterDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getZhiwei() {
        return zhiwei;
    }

    public void setZhiwei(String zhiwei) {
        this.zhiwei = zhiwei;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getDepart() {
        return depart;
    }

    public void setDepart(String depart) {
        this.depart = depart;
    }

    public String getEnterDate() {
        return enterDate;
    }

    public void setEnterDate(String enterDate) {
        this.enterDate = enterDate;
    }

    @Override
    public String toString() {
        return name + ","
                + idcard + ","
                + gender + ","
                + age + ","
                + zhiwei + ","
                + birthday + ","
                + depart + ","
                + enterDate;
    }
}
